<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <%@include file="/res/include/base-head.jsp"%>
	<%@include file="/res/include/jquery-easyui.jsp"%>
	<script type="text/javascript" src="${pageContext.request.contextPath}/res/js/user/userHelp.js"></script>
  </head>
  <body>
<form id="data-form">
	<div class="form_item">
		<input  type="hidden" name="id" value="${userHelpVo.id}"/>
			<dl>
		       <dt>问题：</dt>
		       <dd><input type="text" name="question" value="${userHelpVo.question }" class="txt grid-25" maxlength="200" style="width:760px;height:28px;"/></dd>
		   </dl>
		   <dl>
			   <dt>答案：</dt>
			   <dd><textarea maxlength="8000" class="txt grid-75" id="answer" name="answer" oninput="admin.userHelp.netMsgChange('answer',360)" onpropertychange="admin.userHelp.netMsgChange('answer',360)" rows="4" >${userHelpVo.answer}</textarea></dd>
		   </dl>
		   <dl>
       		   <dt>状态：</dt>
	           <dd>
	        	<select name="status">
					<option value="1"
						<c:if test="${userHelpVo != null && userHelpVo.status==1}"> selected="selected"</c:if>
					>正常</option>
					<option value="2"
						<c:if test="${userHelpVo != null && userHelpVo.status==2}"> selected="selected"</c:if>
					>删除</option>
				</select>
	          </dd>
           </dl>
		   <dl>
		       <dt>排序：</dt>
		       <dd><input type="text" name="oidx" value="${userHelpVo.oidx }" class="txt grid-25" maxlength="32"/></dd>
		   </dl>
		<p class="page_btn"><input type="button" id="saveBtn" value="保存" class="btn_blue" onclick="admin.userHelp.update();"/></p>
	</div>
</form>
</body>
</html>
